fix ObjectType extract() returning empty array