Fix debug printing