got rid of some debug code