remove set_path logic