fixed sub-layout, finally