debug added in index head