fixed layout warnings