gets rid of debug code in test