Handling the case of reattaching