update several class to use let instead of var