finish profiling