remove profiling code