deleted unnecessary line in factories