Removing isDetached and added attach