i think this fixes the bug