further fixes to list command