fix host bug not holding on to endpoints