fixed load_default on windows