fix page index of sample code.