set object once when parsing folder