fix brick disconnect