make dashboard almost work.