fix images show while edit