found the bug, fixed