[hotfix] null pointer exception in Location and Country models