Just changing the two scripts (run.py and setup.py) didn't do the job so I've searched all .py files and modified in similar way all occurrences of device to be empty. Again I think it partial worked.