[fix] duplicate child

comment out switch support
[enhanced] variable edge