Fixed missing } bracket in setvar