Fixed error of saving empty text blocks