solves empty text entity in save
Merge pull request #194 from bhattigurjot/master

solves empty text entity in save