init_messages fix