fix set command

with no args, set command gives an error.