cleaning up foundation