fixed config loading issue