Fix get dashboard api