fixing auto layout triggering