add use strict
fix unintended global