fix factory service