remove foundation cruft