remove messages that were too long