fixed bug in dice roll