verify index and close things and less and stuff and ugh