Fixed bug on dashboard