fix webtest id
fix unattach view when selector is null