fixed server-side command index