remove grid variables