Fixing function that should not have been exported