fix commit save error