fix a name length bug