reset grid method