Fix to clearAll()