var name and type are wrong