fix #1

updated and reorganized _head_section