Correcting minor typos

The error message uses the word "choosen". This appears to be a typo for the word "chosen".

This commit fixes two instances of where "choosen" is used.