fixed missing cnCt
minor refactoring in regexpModel