find source for failing expand_apps method