getting rid of dashboard code