message id changed to enum