fixed a typo in factories
fixed a typo in factories