location hash with spaces fix