Reverting debug stuff