dbGrid attr bug fix