diff --git a/+PlotID/copyUserFCN.m b/+PlotID/copyUserFCN.m
index fe79a8859a408bb230f3161e87a2b0a88df10144..26f5c7b3dc59a99b5da5c03ace8e0435cdef4fbd 100644
--- a/+PlotID/copyUserFCN.m
+++ b/+PlotID/copyUserFCN.m
@@ -2,7 +2,7 @@ function pList = copyUserFCN(scriptPath, folderName, storPath, ID)
    [fList,pList] = matlab.codetools.requiredFilesAndProducts(scriptPath);
    fList = fList(~ismember(fList,scriptPath)); % rmv plot script itself from list
    fList = fList(~contains(fList,'config.json')); % rmv config.json from list
-   fList = PlotID.removePltIdFiles(fList); % Do not copy files that are part of PlotID
+   fList = removePltIdFiles(fList); % Do not copy files that are part of PlotID
    if ~isempty(fList)
        PlotID.createFileCopy(fList,folderName,storPath,ID,'userFcn');
    end