Fixed ignoring specified factory name