Fix null value of endorser_id