fix bug #307.

fix bug #307

https://github.com/hangum/TadpoleForDBTools/issues/307