allow get factory from request