fixing queued message being wrapped incorrectly