stripping un-needed foundation resources