remove hash from URL before configuring routes