fix print formating and list iteration