Complete finalized function.

Fix a bug on the layout of the dashboard page.