fix bytes and add stream's OPs