attempt to fix promos.js error