fix layout wrapping