fixed detach