fix layout warnings