fixed one of the syslog calls