prune unwanted changes