Issue #240

bug fix when loading locations
Merge pull request #242 from FWAJL/dev

Issue #240