some error handling
merged location data with snake and the global config