Fix device path