found the bug! fixed it!