fixing autoload