Fix the bug when the `path` in `add_path_resolver` contains boolean values. Fix...