fixed endless loop in skill index action