Fixed a problem in the dashboard template