Handling incorrent urls