fix bug with device incident logging