fix so that profiling doesn't throw an error