reset basewheres when db/table changes