fixed using var inside using statement