destroy layout spec