fix project factory