fixing .factorypath