fix overflowing global width