fixed db accessor, typo