fixing layout text-structure