fix commit tree error