RepostoryFactory Fix