fix that bug due to having to reverse order of chapters