fixed problems caused by index action