turn chapters to sections
some cleanup