fixed db pulls