added check for message serializer (and error log)