fixed dsn
added default config init