revert debugging code