fixed bug with rewards