Fixing error on dashbord