this function does not allow changing dsn by itself