fixed bugs with incorrect section indexing