fixed missing index that caused slow processing