append layout attribute. close #16