fixed autoloader iteration