fixed delete in client bug