commit before clean