change autoload method