sadly cheap but hopefully a fix for the version null problem
in case this. isn't defined
Merge pull request #559 from theresaanna/master

Potential fix for 123-4/null