corrected bug in verify_delete behaviour