remove image plot part