fixed https://github.com/ossec/ossec-hids/issues/149