limit length of name to 50 characters