use url var instead of hash