There is an existed logic for this in system ! I will remove this part, thanks Arthur !