fixed index out of bound error in lobbywidget