fix a crash in party menu