print of list fixed