fix root path issues