reverted some debug changes