adjusts on layout