resolving url issue