fix autoload rules