Fixes directoy path