NPE fix.
Merge branch 'master' into uxstats