fix IOBuffer