- fix: potential crash if setting specified wrongly