fix path when current dir is not in devtools dir