division by zero on frontend widget