Fix a bug which the name is not read in.