fixed type of var definition