level bug fix