minor bug fixes + improvements in list command.