add layout to indicate nil as layout