Fixed taget-dir incompatibility