force _cmd to str