remove clients code