grid row display bug fix