fix autoload setting