o.c.dct: added argument validation