cleaned end game command