fixing erroneous urls