adjusted the debug