correctly set path