only encode query string if no hash