CMDProcessor: improve instance logic