Resolve GH-12

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