Fixed bug with changing sections.