fixing url issues