fix empty file
index cleanup
separate results from the rest