fixed factory globing