fixed bugs in document sections