error fixes on dahboard