fix attributed text height options; memory leaks fixes
resolve conflict