prevent empty span in a new node