fixing message creation for both broadcasts and inbox pages