fixed SampleFactory specs