fix for js error on mobile new report