fix generate expand get cmd: status could be 0