solves empty text entity in save

Solves #192