Gen Schedule fix comparator