fixed spec factory missing