cleaning up output as well as fixing a weird issue with having then in the ls list