several bugs are fixed in the new implementation of CommandAnalser