fix to chapters controller