fix rewardDelay issue and add postRewardMs function