fixed type for link.visits and added default value for visits