remove warning for variable exported from case