Fix dice and xml