get rid of hash part of url