deleted extra layoutIfNeeded