bug when setting content in tinymce editor