fixes database problems and a problem in exhibit specs