Added resolve root path.