fixed dir pointers to root