Fixing a function export