Patched and Standard IO buffer