fix: inputStream.available() = 0