format changed for bytes and string