remove usage of SOME_ERROR_CODE