change type to msg_type