Resolve issue where error message is referencing 'e' which does not exist. Resolves GH-12