Update main.xml

fixed detached head.