get dsn right