Fixed bugs in Scanner and PArser pre unix command