removed unnessary flag, does not required to set recursive flag for
multiple inputs