try to fix js error on loading Effect