CLDIDE-2067: fix nonencoded factory builder