Revert "added read and buffer checks to typo"

This reverts commit 78e3ca7e7e45306942db7192c5b0ca9e737a7590.