bug fix of default index action