assign correctly variant values to message fields #45