write bytes OK