added fix for cProfile import in decorators