fixed client_index delete() mistake