fixed db.h