fix dashboard errors