check to see if msg.Json.Args is null before trying to get its data, this fixes the NullException error on Connect event