fixing target dir