Fixed bug in the layout.