fix Circuit dir structure