fix #38: action index error