Fixed reset level bug