Fix factory provision type