remove postProc when preProc failed, minor optimalizations