fix commit bugs