fixed some bugs in fortune stats
manual merge