fixed index of commands