Fix settings check