fix the error code indicating 'not supported'