fix it so it reads the right directory