Fixing the variable names for the private foreignsource/id

Lousy typos