fix factory get object