fix assocaitions in factory
fix factory