try to fix js error