connection error button + some logic