factroy fix