added resolving for redirected URL