fix getChildSync when subEl is null