filter process output and input choices