Wrong directory in code