Fix issue#26 "not count execute error command in history will be better"