remove temporary debug code