protect vars