fixed warning about potential null pointer access
regenerated CS with current SDK