fixing target-dir