debug actionIndex()