fixing delete client