fix to make the autoloader function work

Removed the second argument to the anonymous function