change the method of game clear