fix search bug, added chapters