Fix bug of reward log analysis