resolve foreign objects