fix an error of url creation for the image form