diag check fix