units: handle the situation where it an array of bytes