fixed db log