cleaned up an error in the spatial_config script