removing non-existant APIs from config