change url structure to remove hash