stopped the hash bug from causing page to load incorrectly on refresh