settings validation fix