fix in $modx->getSettings