** fix a bug in Database_create