cleanup spec index