fix horizontal overflow