some modif on end game