bug 1056380 - avoid double-attach