fix regix for toctoclevel and maxtoclevel args