Revert debugging code