Trying to fix the url redirection