remove pointer in endgames