cleaned up search indexes and reset database. fixed some vaildation