fix index: parse callback takes 2 parameters
Merge pull request #3 from coderaiser/patch-1

fix index: parse callback takes 2 parameters