struct DB
DB pointer fix