remove layout nil