fix security updates stdout/stderr