refine the gl related diag