fix brick switch custom