fix bug #307

https://github.com/hangum/TadpoleForDBTools/issues/307