fix legacy project config