reduce length of message in temp data.