fixed variable reference for settings file path