update Exception message when key isn't found
bugfix with lstrip/replace