fix for version of errors returned