fix mocha
add it only for device.. it breaks others..