ugly bugfix
correct bugfix for loading local configuration