added fix for dice