Whoops fixed the bug in the bugfix

Yes,i should test more