Fixed faulty debug print