Fixed a bug which removed data from text content fields