make read return bytes