Settings variable usage fix