some plot processing fixes