fix a bug in CountUidUrl