Fix autoload class function
Fix typo in var string