fixing a few bugs and updating rewards