fixed url redirect error