added support for fdb_destroy