Removing useless objects on dashboard file.