fix js error in check all