Made a mistake about the previous directory