removing nil layout