Fix spelling mistake resulting from factories refactoring