fix a bug on initializing tpd_list pointer from db file