fix a few bugs on dice game