fixed bug on dashboard page