Potential fix for unlink issue