Fixed missing $modSettings