delete unnecessary debug code