correcting a debug log