fixing bug with level progress