fixed db ref