some improvements to outputprocessor