Fix for dashboard error