clean up xy.plot.var