fix root dir path