another read buffer fix