Fix grespage function call from index