prevent import crashing if catagories are missing
Merge branch 'hotfix-0.5.0.1'