again trying to fix set_hp_tp_max bug