delete unused debug code