fixed call to MessageTypes