fix trans database creation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>