Fixed lack of parameter $config on the sample settings