fixed root dir issue