fixed chapter parsing