change name length checking