fixes syslog call