use strings join replace bytes buffer