fix grid copy