Removed unneeded debug code