correction to the layout on the front end