minor fix to msgType