workaround for division by zero