fixing projectDirectory