Fixed where the db is coming from.