fixed reward bug