CreateFunctionFix in nested packages