removed breaking unlink call