remove HEAD in index file?