limit title to 31 chars