fixes broken layout for long words