work around for deprecation warnings from connect

https://github.com/senchalabs/connect/wiki/Connect-3.0