remove double slash in image path