recorrect the layout and spec