Fixed the bug of unrecognized command position