fix directory structure of condition