fixed local configuration loading