fixed bug with order in rating history