clean up list cmd