correct target-dir