error reporting, autoload fix