fixed incorrect table references in postProcess()