fix page and action index parser