added a limit to title length