Fix dashboard error