fixed the dashboard when no posts