corrected chat idx/key