Revert "convert cmd to sequence, instead of string"

This reverts commit c41584fbab3b4af42d56527f029a45c4fc9a28e0.