Fix. leap connection panic