Fixed bug in displaying correct chapter