adjust layout to avoid some words being cut