more sensible error messages regarding config param