Corrects add_to_path