dynSeries: replacing strmatch by strcmp