Fixed c&p problem in debug functions