Fix URL compare issue