attempt to fix js error in prod