fix layout bug in plot_lc()