Issue 1 fix: empty(error_code)