fixed bug the dashboard