not allow to invoke setSub without subMap