remove hash variables from URL to properly check