fix target-dir (2)