support for some error codes