fix use of var because we are now strict!