moved setdice after setdicecup to fix error