should fix level bug