fix broken root dir