fix and test  nano connection in app.js