Eliminate empty index