fixing plot.S.plot and fixlt