fixed unlinking