correctly populate message field