fix limit in replace for BufferedInputStream