Fixed DSN bug. related issue #42