Fix level bug