reward bug fix