actually fixed the bug.