application layout fixes