i think i fixed the bug