fix circuit