remove .root dependence in cut based datacard