chop title at 1024 characters to avoid postgres index error