fixed db spec