add preventing to delete first empty tag (ff, chrome)