fixed url resolver bug