basic replacing/formatting for message