bug fix on parse command