fixed byte and string handling