@ createLayout: some improvment