fix to chapters controller, books index, and styling book edit