Added setting validation