still a bug in message initialization