clear previous changes