try to correct some url safety problem