config and autoload fix