handle setting empty (clearing) inner html