discard the previous changes