removed unnecessary debug code.