-- Fixed validation for settings