Fix unlink

fix issue #5