fixing dir locations