fix factory loading bug