exchange detected value and target values

Signed-off-by: FunThomas424242 <funthomas424242@gmail.com>