Fixing bugs in the level victory