bugfix: unset var if use second switch function