fixed url error when url contains #