added overwrite control on grid