delete diagnosis: fixed bug