Fix settings validation