style tweaks to get the right layouts