added detached head message for clarity