FIX: remove 'foreign' flag