remove code of profiling