switched config to NIO #112