commit before leaving
commit before leaving