fix message thread problem