fix Circuit directory structure