we did not assign the new_tos if the reset_tos flag is true, fixed.