fix schema to accommodate index length restriction