layout setup & fixes