fix trader index not found issue