made compile again after changes to Foundations