support the path end with '/'