Erase setting bug