Rollback unnecessary changes