fix diag box