Simplify cutflowhandler and fix the error display
Save ks value