fixing retailer node clearing issue