change autoload implementation