fix commit bug