levels bugs fix