Fixed incompatibility on mac and always use default device