fix output for indexing command