fix rootPath !== "/" bug
Release 0.3.0