Removed some unnecessary debug code from the release builder