Fix for admin dashboard