fixing of the url redirection