fix spec db