Fixed DB problem on frest start.