fixed not using var