eliminate bufferLength; style fix on deprecation