fix cutoff in plotapot script