Fix reset level bug