fixed absolute path in factory