fixing reward creation