set max name length to 10