Fixed url processing bug