Fixed npd when the Message == nil.