fix dist params in index action