fixed dice bug