fix href where there is no search params