ignore null value of root_path