-- fixed several issues in the LoadConfig mechanism