constant reattachIfNeeded() implementation