Fix a bug with autoload value