fix the displayed index in the define command response.