[mr3140] Fix logic and wait target timer in TargetedMGen.
thx to mns