fix stric js error