leaf nodes changed to bytes