delete attach fix