fixed some compat issues with latest logstash