Fix bug of device wrap
Merge remote-tracking branch 'origin/master'