fix problem with grid fields