fixing broken add rewards functionality