fixing Grid caps problem