Fix debug console