id can be a string e.g. in case of cmf
Merge pull request #175 from phiamo/fix-error-id

id can be a string e.g. in case of cmf