fix typo and change working directory to get out of python code directories