Fix bug on autoload class