clean up list output