fixing factories