removed old pathgen_map code