fix _layout