fix lockname on delete