remove cruft from autogenerated index