fixed the factory for question