Fixed index error also present in the book