fix name checking when create match