validation on settings