Added maxlength for title to 40 chars