apply to location.hash when netmask is changed