fix legacy paths