fixed for main_training_reward_based_new