fix to support fluentd >= 0.10.50