fixed database make targets