Fixed faulty printout