fixed minor issue in finding urls