fixed a lot of bugs in the dice system and the parser