fix db/import bug