fix ValueError if select cmd is used without argument