SZ-121: missed this; added unlink logic