when duplicating clause, need to filter out '' in split stringto prevent error when calling int()