fix layout warnings
do it like this instead