some other fixes for plot and table