index action bug fixed