remove instance and remove image