Fix startup profiling