move messages to correct place