[hl] fixed add layout method