bug fix in layout grid item