callback on device connect passes actual device proxy object. also missed a variable name in device while refactoring...now fixed