fixed url normalization bug