get hash rather than url