bugfix default content removal may remove the entire element