Fixed loop in debug statement.