fixed bug on the dashboard