Fix empty dashboard error