Fix term_path folder bug