db.malfunction change to table format