set default state after the message is created