fix device path